package com.csx.governance.traffic.adm.model.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author cuisongxu
 * @date 2023/4/23 15:49
 */
@Schema(description = "表达式参数")
@Data
public class ExpressionBO {

    @Schema(description = "表达式类型, 目前有 exp(表达式)、logic(逻辑操作符) 两种")
    private String type;

    @Schema(description = "参数类型,type为 exp 时才生效")
    private String paramType;

    @Schema(description = "参数键,type为 exp 时才生效")
    private String paramKey;

    @Schema(description = "操作符,type为 exp 时才生效")
    private String operation;

    @Schema(description = "参数值,type为 exp 时才生效")
    private String paramValue;

    @Schema(description = "逻辑操作符,type为 logic 时才生效")
    private String logic;

}
